<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>绑定卡片</title>
    <link rel="stylesheet" href="/static/weui-1.0.2/dist/style/weui.css"/>
    <link rel="stylesheet" href="/static/weui-1.0.2/dist/example/example.css"/>
    <script src="/static/admin/css/jquery-3.0.0.min.js"></script>
</head>
<style>
    .btn1,.btn2{
        width:50%;
        margin-bottom:50px;
    }
    .tj{
        width:60%;
    }
</style>
<body>
<div class="page__hd" style="margin: 0 auto;">
    <h1 class="page__title" style="text-align: center;">请选择您的身份</h1>
</div>
<div class="button-sp-area">
    <a href="javascript:;" class="weui-btn weui-btn_plain-default btn1" st="1" >我是家长</a>
    <a href="javascript:;" class="weui-btn weui-btn_plain-default btn2" st="1">我是老师</a>
    <a href="javascript:;" class="weui-btn weui-btn_primary tj">提交</a>

</div>
</body>
</html>
<script>
    $('.weui-btn_plain-default').click(function(){
        $('.weui-btn_plain-default').css('background','white');
        $('.weui-btn_plain-default').css('color','black');


        $(this).css('background','#00B033');
        $(this).css('color','white');

    });



    $('.tj').click(function () {
        location.href = "{:url('user')}";
        return;
    })
</script>